<script src="./js/ime_data.js" type="text/javascript"></script>
<script src="./js/ime.js" type="text/javascript"></script>

{config_load file=$settings.language_file section="login"}
{if $ip_temporarily_blocked}
<p class="caution">{#login_ip_temp_blocked#}</p>
{else}
{if $login_message && $smarty.config.$login_message}
<p class="{if $login_message=='account_activated'}ok{else}caution{/if}">{$smarty.config.$login_message}</p>
{/if}
<form action="index.php" method="post">
<input type="hidden" name="mode" value="{$mode}" />
{if $back}<input type="hidden" name="back" value="{$back}" />{/if}
{if $id}<input type="hidden" name="id" value="{$id}" />{/if}
{if $show_user}<input type="hidden" name="show_user" value="{$show_user}" />{/if}
<div>
<table>
<tr>
<td colspan="2"><p>&nbsp;拼音:&nbsp;<INPUT name="EnglishMode"
			ID="EnglishMode" onclick="changeinputmode();" type="checkbox" checked="true" 
			 OnFocus="IME.InputArea.focus()">切换为英文(Ctrl) <INPUT
			name="FullShape" ID="FullShape" type="checkbox"
			OnFocus="IME.InputArea.focus()">全形字符(F12) <INPUT name="AutoUp"
			ID="AutoUp" type="checkbox" OnFocus="IME.InputArea.focus()">自动上字(F2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;翻页 PageUp/PageDown</p>
</td>
</tr> 
<tr>
<td><INPUT OnFocus="IME.InputArea.focus();" Name="Comp" ID="Comp" readonly="readonly" Size="19" style="visibility: hidden"	style="FONT-SIZE: 12pt; FONT-FAMILY: simsun, arial; font-weight: bold"></td>
<td rowspan="7" valign="top"><TEXTAREA OnFocus="IME.InputArea.focus();" Name="Cand" ID="Cand" readonly="readonly" Rows="15" Cols="20" style="visibility: hidden" style="FONT-SIZE: 12pt; FONT-FAMILY: simsun, arial"></TEXTAREA></td>
</tr>
<tr>
<td><p><label for="login" class="main">{#login_username#}</label><br /><input OnFocus="LoadIME(this.id);" OnKeyDown="return ImeKeyDown(event)" OnKeyPress="return ImeKeyPress(event)" OnKeyUp="return ImeKeyUp(event)" id="login" type="text" name="username" /></p></td>
</tr>
<tr>
<td><p><label for="password" class="main">{#login_password#}</label><br /><input id="password" type="password" name="userpw" /></p></td>
</tr>
<tr>
<td>{if $settings.autologin==1}<p class="small"><input id="autologin" type="checkbox" name="autologin_checked" value="true" /> <label for="autologin">{#login_auto#}</label></p>{/if}</td>
</tr>
<tr>
<td><p><input type="submit" value="{#login_submit#}" /></p></td>
</tr>
<tr>
<td><p class="small">{#login_advice#}</p></td>
</tr>
<tr>
<td><p class="small"><a href="index.php?mode=login&amp;action=pw_forgotten">{#pw_forgotten_link#}</a></p></td>
</tr>
</table>
</div>
</form>
<script type="text/javascript">/* <![CDATA[ */ sf('login'); /* ]]> */</script>
{/if}


